package com.brainhealth.customer.mapper;

import java.util.List;
import com.brainhealth.customer.domain.CustomerReportCycle;

/**
 * 会员阶段报告Mapper接口
 * 
 * @author wolong
 * @date 2023-05-19
 */
public interface CustomerReportCycleMapper 
{
    /**
     * 查询会员阶段报告
     * 
     * @param customerReportCycleId 会员阶段报告主键
     * @return 会员阶段报告
     */
    public CustomerReportCycle selectCustomerReportCycleByCustomerReportCycleId(Long customerReportCycleId);

    /**
     * 查询会员阶段报告列表
     * 
     * @param customerReportCycle 会员阶段报告
     * @return 会员阶段报告集合
     */
    public List<CustomerReportCycle> selectCustomerReportCycleList(CustomerReportCycle customerReportCycle);

    /**
     * 新增会员阶段报告
     * 
     * @param customerReportCycle 会员阶段报告
     * @return 结果
     */
    public int insertCustomerReportCycle(CustomerReportCycle customerReportCycle);

    /**
     * 修改会员阶段报告
     * 
     * @param customerReportCycle 会员阶段报告
     * @return 结果
     */
    public int updateCustomerReportCycle(CustomerReportCycle customerReportCycle);

    /**
     * 删除会员阶段报告
     * 
     * @param customerReportCycleId 会员阶段报告主键
     * @return 结果
     */
    public int deleteCustomerReportCycleByCustomerReportCycleId(Long customerReportCycleId);

    /**
     * 批量删除会员阶段报告
     * 
     * @param customerReportCycleIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCustomerReportCycleByCustomerReportCycleIds(Long[] customerReportCycleIds);
}
